NLP Architect by Intel® AI Lab¶
NLP Architect is an open source Python library for exploring state-of-the-art deep learning topologies and techniques for optimizing Natural Language Processing and Natural Language Understanding neural network.
The library includes our past and ongoing NLP research and development efforts as part of Intel AI Lab.
NLP Architect can be downloaded from Github: https://github.com/NervanaSystems/nlp-architect
NLP Architect is designed to be flexible for adding new models, neural network components, data handling methods and for easy training and running models.
- Core NLP models used in many NLP tasks and useful in many NLP applications
- Novel NLU models showcasing novel topologies and techniques
- Optimized NLP/NLU models showcasing different optimization algorithms on neural NLP/NLU models
- Model-oriented design:
- Train and run models from command-line.
- API for using models for inference in python.
- Procedures to define custom processes for training, inference or anything related to processing.
- CLI sub-system for running procedures
- Based on the following Deep Learning frameworks:
- Intel-Optimized TensorFlow with MKL-DNN
- Essential utilities for working with NLP models - Text/String pre-processing, IO, data-manipulation, metrics, embeddings.
Library design philosophy¶
NLP Architect is a model-oriented library designed to showcase novel and different neural network optimizations. The library contains NLP/NLU related models per task, different neural network topologies (which are used in models), procedures for simplifying workflows in the library, pre-defined data processors and dataset loaders and misc utilities. The library is designed to be a tool for model development: data pre-process, build model, train, validate, infer, save or load a model.
The main design guidelines are:
- Deep Learning framework agnostic
- NLP/NLU models per task
- Different topologies (moduels) implementations that can be used with models
- Showcase End-to-End applications (Solutions) utilizing one or more NLP Architect model
- Generic dataset loaders, textual data processing utilities, and miscellaneous utilities that support NLP model development (loaders, text processors, io, metrics, etc.)
Proceduresfor defining processes for training, inference, optimization or any kind of elaborate script.
- Pythonic API for using models for inference
- Extensive model documentation and tutorials
NLP Architect is an active space of research and development; Throughout future releases new models, solutions, topologies and framework additions and changes will be made. We aim to make sure all models run with Python 3.6+. We encourage researchers and developers to contribute their work into the library.